package com.gzhu.knowledgeAdmin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gzhu.knowledgeAdmin.entity.TRwT;

import java.util.List;
import java.util.Map;


public interface TRwTService extends IService<TRwT> {

    List<TRwT> selectBySearch(TRwT tRwT);

    TRwT saveTask(TRwT tRwT);

    Long selectMaxNum();

    Integer updateTask(TRwT tRwT);

    TRwT findById(Long fRwid);

    List<String> findOwners();

    Integer startTasks(List<Long> rwids);

    Integer stopTasks(List<Long> rwids);

    Integer recallTasks(List<Long> rwids);

    List<TRwT> getAllTasks(); // 新增方法

    List<Map<String, Object>> getAllTasksWithCompanyName(); // 获取包含公司名称的任务数据

}
